﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Drifter.Datasource;
using Drifter.Core;

namespace DrifterTest
{
    
    public static class FieldListCollectionBuilder
    {

        /// <summary>
        /// Gets the file list.
        /// </summary>
        /// <returns></returns>
        public static List<FieldList> GetFieldListCollection()
        {
            
            List<FieldList> fieldListCollection = new List<FieldList> { 
                new FieldList(){
                    new FieldDef(){ Name="field1", Value="List1-Field1"},
                    new FieldDef(){ Name="field2", Value="List1-Field2"},
                    new FieldDef(){ Name="field3", Value="List1-Field3"}
                },
                new FieldList(){
                    new FieldDef(){ Name="field1", Value="List2-Field1"},
                    new FieldDef(){ Name="field2", Value="List2-Field2"},
                    new FieldDef(){ Name="field3", Value="List2-Field3"}
                },
                new FieldList(){
                    new FieldDef(){ Name="field1", Value="List3-Field1"},
                    new FieldDef(){ Name="field2", Value="List3-Field2"},
                    new FieldDef(){ Name="field3", Value="List3-Field3"}
                }             
            };

            return fieldListCollection;

        }

    }
}


